<div class="comment">    
    <% if @comment.member.photo? %>
      <%= image_tag @comment.member.photo.url(:thumb), :class => "comment" %>
    <% else %>
      <%= image_tag('avatars/default.png', :class => "comment")%>
    <% end %>
    <%= link_to @comment.member.username, @comment.member %> u 
    <% if @comment.parent != nil %>
    <%=link_to @comment.parent.name, @comment.parent.url %>
    <% end %>
    <div class="comment_inside"><%= @comment.content %></div>
    <div style="clear:both;"></div>
</div>